package com.itheima.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;
import org.springframework.context.annotation.PropertySource;

@Configuration
@ComponentScan({"com.itheima"})
@PropertySource("jdbc.properties")

//通过Import的方式可以清楚的看到导入了那些配置
@Import({JdbcConfig.class})
public class SpringConfig {
}
